﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.CompilerServices;

namespace YhmOA.Pager
{
    [Serializable]
    public class PagerEventArgs : EventArgs
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 数据源
        /// </summary>
        public object DataSources { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="dataSources">数据源</param>
        /// <param name="pageIndex">当前页码</param>
        public PagerEventArgs(object dataSources, int pageIndex)
        {
            this.DataSources = dataSources;
            this.PageIndex = pageIndex;
        }

    }
}
